<template>
  <div
    class="base_footer"
    :style="`height:${height}px`"
    safe-area-inset-bottom
  >
    <div class="base_footer_main">
      <slot></slot>
    </div>
  </div>

  <div
    :style="`height:${height}px`"
    safe-area-inset-bottom
  ></div>
</template>

<script setup>
defineProps({
    height: {
      type: String,
      default: 100
    }
  })
</script>

<style lang="less" scoped>
  .base_footer {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: #fff;
    &_main {
      box-sizing: border-box;
      width: 100%;
      padding: 15px;
    }
  }
</style>